#ifndef EXPERIMENTSETTINGUI_H
#define EXPERIMENTSETTINGUI_H

#include <QObject>
#include <QQuickWidget>
#include <QQmlContext>

class ExperimentSettingUI : public QQuickWidget
{
    Q_OBJECT

signals:
    void returnSig();
    void changeSettingPage(int index); // 切换页面

private slots:
    void onAboutUs();
    void onHelp();

public:
    ExperimentSettingUI();
    ~ExperimentSettingUI();

public:
    QQmlContext* getContext() const; // 获取qmlcontext
    QObject* getRootObject() const; // 获取rootObject

private:
    QObject *rootObj;
};

#endif // EXPERIMENTSETTINGUI_H
